//
//  ReportsViewController.h
//  TimeTracker
//
//  Created by Michael Flakus on 2/25/13.
//  Copyright (c) 2013 Michael Flakus. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <sqlite3.h>


@interface ReportsViewController : UITableViewController


@property (nonatomic, strong) UILabel *headerLabel;

@property (nonatomic, strong) UIButton *oneDayButton;
@property (nonatomic, strong) UIButton *oneWeekButton;
@property (nonatomic, strong) UIButton *oneMonthButton;
@property (nonatomic, strong) UIButton *threeMonthsButton;
@property (nonatomic, strong) UIButton *sixMonthsButton;
@property (nonatomic, strong) UIButton *oneYearButton;
@property (nonatomic, strong) UIButton *twoYearsButton;

@property (nonatomic, strong) NSString *selectedRange;
@property (nonatomic, strong) NSDate *selectedStartTime;
@property (nonatomic, strong) NSDate *selectedEndTime;


@property (nonatomic, strong) NSMutableArray *reportActivityNames;
@property (nonatomic, strong) NSMutableArray *reportCategoryNames;
@property (nonatomic, strong) NSMutableArray *reportTotalTimes;
@property (nonatomic, strong) NSMutableArray *reportMinTimes;
@property (nonatomic, strong) NSMutableArray *reportMaxTimes;
@property (nonatomic, strong) NSMutableArray *reportEntries;




@property (nonatomic) sqlite3 *database;
@property (strong, nonatomic) NSString *databasePath;

@end
